<!DOCTYPE html>
<html>
    <head>
        <title>登录</title>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="stylesheet" type="text/css" href="/html/css/index.css">
        <link rel="stylesheet" type="text/css" href="/html/css/master.css">


<{include file="section/include/common_js.tpl"}>
<script type="text/javascript">
var passport = null;
$(document).ready(function () {
    passport = new Passport();
});

function change_account_type(obj)
{
    $('.form-header li').removeClass('acitve');
    $(obj).addClass('acitve');
}

</script>

    </head>
    <body class="clearfix">
        <div id="box" class="register-body clearfix">
            <div class="register-form login-form clearfix" style="height: 650px;">
                <form name="register-form" class="clearfix" method="POST" action="" onsubmit="return passport.login(this, '<{$return_url}>')">
                    <div class="register-section clearfix">
                        <div class="register-form-bg"></div>
                        <div class="register-form-section ">
                            <div class="form-header">
                                <ul>
                                    <li onclick="change_account_type(this)" class="acitve">管理员</li>
                                </ul>
                            </div>
                            <div class="form-content">
                                <div class="item">
                                    <div class="inner-item">
                                        <span class="input"><input type="text" name="userid" placeholder="电子邮件" onblur="passport.check_login_userid(this);" ></span>
                                    </div>
                                    <div class="tip-image"></div>

                                </div>
                                <div class="item-line"></div>
                                <div class="item">
                                    <div class="inner-item">
                                        <span class="input"><input type="password" name="password" placeholder="密码"  onblur="passport.check_login_passwd(this)"></span>
                                    </div>
                                    <div class="tip-image"></div>
                                </div>
                                <div class="item-line"></div>
                            </div>
                            <div class="form-btn">
                                <div id="errormsg" style="display: none; position: relative; top: -25px; font-size: 12px; color: #4200; background-color: #eea; padding: 10px 0;"></div>

                                <button type="submit"  class="btn btn-info">立即登陆</button>
                                <div class="link-btn">
                                    <div class="login_form_label">
                                        <input name="rememberme" id="LoginForm_rememberme" value="1" type="checkbox"><label for="LoginForm_rememberme">自动登陆</label>
                                    </div><a class="reset-password" href="/html/register.html">&nbsp;</a></div>
                            </div>
                        </div>
                    </div>

				        <input type="hidden" name="pwdtype" value="0"/>
				        <input type="hidden" name="persistentcookie" value="1"/>
				        <input type="hidden" name="appid" value="1028"/>
				        <input type="hidden" name="ru" value="/passport/login_ru.php?member_ru=<{$return_url}>" />

                </form>
            </div>
        </div>
    </body>
</html>
